/**
 * 
 */
package org.simplextensions.registry;





/**
 * interface for specific property validators
 * 
 * @author Tomasz Krzyzak, <a href="mailto:tomasz.krzyzak@gmail.com">tomasz.krzyzak@gmail.com</a>
 * @since 2009-08-13 21:23:02
 * 
 */
public interface IPropertyValidator {

	/**
	 * check whether given property value is valid for given extension
	 * 
	 * @param extension
	 * @param propertyValue
	 * 
	 * @return true if value is valid, false otherwise
	 */
	boolean validate(Extension extension, PropertyValue propertyValue);

}
